package rsj.sql.org;

import com.rlyy.aibase.utils.base.MapNode;
import rsj.annotation.Param;
import rsj.annotation.Select;

/**
 * @author yuanqinglong
 * @since 2021/5/25 17:27
 */
public interface QueryOrgKeyDao {


    /**
     * 查询组织关键
     * 查询机构唯一标识、密钥
     *
     * @param orgId org id
     * @return {@link MapNode}
     */
    @Select("SELECT aut_keyid,aut_secretkey,aut_signkey FROM sys.sys_authon WHERE aut_org_id = #{orgId}")
    MapNode queryOrgKey(@Param("orgId") String orgId);
}
